home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / gnu_oleo_1_2_2.lha / oleo-1.2.2 / io-generic.h < prev    next >
C/C++ Source or Header  |  1993-03-03  |  2KB  |  74 lines

  1. #ifndef IO_GENERICH
  2. #define IO_GENERICH
  3. /*    Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with Oleo; see the file COPYING.  If not, write to
  17. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18. /*  t. lord    Fri Aug  7 23:20:52 1992    */
  19.  
  20. #include "global.h"
  21. #include "obstack.h"
  22.  
  23. /*
  24.  * These define the input state from the perspective of a command.
  25.  * (The io system has additional state).
  26.  */
  27. extern CELLREF setrow, setcol;    /* The cell being defined (if any). */
  28. extern CELLREF curow, cucol;    /* The cell with the cell cursor. */
  29. extern CELLREF mkrow, mkcol;    /* The marked cell (if any). */
  30. extern unsigned short print_width;
  31.  
  32. extern int modified;
  33.  
  34. /*
  35.  * User settable options.
  36.  */
  37. extern int bkgrnd_recalc;
  38. extern int auto_recalc;
  39. extern int a0;
  40. /* This is how frequently the alarm should go off. */
  41. extern unsigned int alarm_seconds;
  42. extern unsigned int alarm_active;    /* Whether or not the alarm matters. */
  43.  
  44. #ifdef __STDC__
  45. extern void (*read_file) (FILE *, int);
  46. extern void (*write_file) (FILE *, struct rng *);
  47. extern int (*set_file_opts) (int, char *);
  48. extern void (*show_file_opts) (void);
  49.  
  50. extern int get_chr (void);        /* read from kbd or macro */
  51. extern void open_window (char *);    /* For syntax, see HOW-TO-USE */
  52. extern void close_window (char *);
  53. extern void goto_window (char *);
  54. extern int set_window_option (int set_opt, char *text);
  55. extern void show_window_options (void);
  56. #else
  57. extern void (*read_file) ();
  58. extern void (*write_file) ();
  59. extern int (*set_file_opts) ();
  60. extern void (*show_file_opts) ();
  61.  
  62. extern int get_chr ();        /* read from kbd or macro */
  63. extern void open_window ();
  64. extern void close_window ();
  65. extern void goto_window ();
  66. extern int set_window_option ();
  67. extern void show_window_options ();
  68. #endif
  69.  
  70.  
  71. extern const int rowmagic[], colmagic[];
  72.  
  73. #endif
  74.